import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router'
import store from './store'
// 导入自己封装的组件库
import XtxUI from '@/components/library/index'
import 'normalize.css'
import '@/assets/style/common.less'
import './mock'
// import VeeValidate from 'vee-validate'
// const config = {
//   events: 'blur'
// }

const app = createApp(App)

app.config.warnHandler = () => null
app
  .use(router)
  .use(store)
  .use(XtxUI)
  .use(ElementPlus)
  // .use(VeeValidate, config)
  .mount('#app')
